[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
NET ZAP zap of database in a network environment:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Syntax:
~~~~~~~

  NET ZAP [CONTINUE] [RETURN <expr>]

Function:
~~~~~~~~~
It is a network version of clipper command ZAP...,
with following enhancements:
1.Network enhancement: If command fails, the user is given an Alert about it
  and he is to decide the next step:
        - repeat the failed command
        - continue even if the command failed, and when the CONTINUE clause
          was used
        - break of the program with a question if the user realy wants to
          break the program
2.CONTINUE clause: If set the user has the possibility to continue after
  a network error occured. This can be checked by NetErr(), which is after
  a network error set to true, when also the CONTINUE clause is used.
3.RETURN clause: is to use when is the continue clause used too. If it is
  used and after an failed command user wants to continue, the RETURN false
  command is performed to immediate break of a failed function.

This enhancements are a strong tool for a programmer, but this library has
better capabilities to handle the database in a network environment, see the
objects of Dbf and View classes for a high level network data handle.

Source code is in Object.ch a Object3.prg

See Also: NetZap Dbf View
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson